package com.hd.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * Created by lenovo on 2017/11/20.
 */
public class Treatment {

    //治疗表
    private Integer treatmentId;
    private Integer reservationId;     //预约编号
    private Integer memberId;          //会员编号
    private Integer treatmentState;    //治疗状态
    private LocalDateTime treatmentStartTime;       //治疗开始时间
    private LocalDateTime treatmentFinishTime;      //治疗结束时间
    private double registryFee;            //注册费用
    private String treatmentRemark;        //治疗评论
    private Integer userId;

    private LocalDateTime treatmentDate;             //治疗时间
    private String startTime;
    private String endTime;

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    //引用
    private Reservation reservation;
    private Member member;
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Reservation getReservation() {
        return reservation;
    }

    public void setReservation(Reservation reservation) {
        this.reservation = reservation;
    }

    public Member getMember() {
        return member;
    }

    public void setMember(Member member) {
        this.member = member;
    }

    public Integer getTreatmentId() {
        return treatmentId;
    }

    public void setTreatmentId(Integer treatmentId) {
        this.treatmentId = treatmentId;
    }

    public Integer getReservationId() {
        return reservationId;
    }

    public void setReservationId(Integer reservationId) {
        this.reservationId = reservationId;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public Integer getTreatmentState() {
        return treatmentState;
    }

    public void setTreatmentState(Integer treatmentState) {
        this.treatmentState = treatmentState;
    }


    public double getRegistryFee() {
        return registryFee;
    }

    public void setRegistryFee(double registryFee) {
        this.registryFee = registryFee;
    }

    public String getTreatmentRemark() {
        return treatmentRemark;
    }

    public void setTreatmentRemark(String treatmentRemark) {
        this.treatmentRemark = treatmentRemark;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public LocalDateTime getTreatmentStartTime() {
        return treatmentStartTime;
    }

    public void setTreatmentStartTime(LocalDateTime treatmentStartTime) {
        this.treatmentStartTime = treatmentStartTime;
    }

    public LocalDateTime getTreatmentFinishTime() {
        return treatmentFinishTime;
    }

    public void setTreatmentFinishTime(LocalDateTime treatmentFinishTime) {
        this.treatmentFinishTime = treatmentFinishTime;
    }

    public LocalDateTime getTreatmentDate() {
        return treatmentDate;
    }

    public void setTreatmentDate(LocalDateTime treatmentDate) {
        this.treatmentDate = treatmentDate;
    }
}
